-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VL] Enhance spill log readability #7300
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
LOG(WARNING) << logPrefix << "Spill is requested on a task " << task_->taskId() | ||
<< " that has non-zero running threads, which is not currently supported. Skipping."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this case is expected but just rare. Can we keep it in INFO? We can lower the verbose level anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
return shrunken; | ||
} | ||
int64_t remaining = size - shrunken; | ||
LOG(INFO) << logPrefix << "Trying to request spill for " << remaining << " bytes..."; | ||
auto* mm = memoryManager_->getMemoryManager(); | ||
LOG(INFO) << logPrefix << "Trying to request spill for " << velox::succinctBytes(remaining); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: With the punctuation mark removed the log could look a bit ugly. E.g.,
W20240920 11:38:50.542661 20191 HashBuild.cpp:1052] Trying to request spill for 1MB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.